<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>向域对象添加值</title>
</head>
<body>

<%
    //application.setAttribute("username", "tom");
    session.setAttribute("username", "tom");
%>

</body>
</html>
